package com.spring.boot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spring.boot.entity.SysUserRole;

import java.util.ArrayList;
import java.util.List;

public interface SysUserRoleService extends IService<SysUserRole> {
    List<SysUserRole> getByUserId(int id);

    void updateByUserId(List<SysUserRole> userRoleList);

    void insertByUserId(int id, ArrayList<Integer> roles);
}
